﻿using IOP.SgrA;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;

namespace VkSample113;

public class LeafTransform : IRenderComponent
{
    public string Name => nameof(LeafTransform);

    public Vector3 InitPosition { get; set; }
    public Quaternion InitRotation { get; set; }

    public void CloneToNewRender(IRenderObject newObj)
    {
        newObj.AddComponent(new LeafTransform() { InitPosition = InitPosition, InitRotation = InitRotation });
    }

    public void Destroy()
    {
    }
}
